const BSONType = Int
const BSON_TYPE_EOD = 0x00
const BSON_TYPE_DOUBLE = 0x01
const BSON_TYPE_UTF8 = 0x02
const BSON_TYPE_DOCUMENT = 0x03
const BSON_TYPE_ARRAY = 0x04
const BSON_TYPE_BINARY = 0x05
const BSON_TYPE_UNDEFINED = 0x06
const BSON_TYPE_OID = 0x07
const BSON_TYPE_BOOL = 0x08
const BSON_TYPE_DATE_TIME = 0x09
const BSON_TYPE_NULL = 0x0A
const BSON_TYPE_REGEX = 0x0B
const BSON_TYPE_DBPOINTER = 0x0C
const BSON_TYPE_CODE = 0x0D
const BSON_TYPE_SYMBOL = 0x0E
const BSON_TYPE_CODEWSCOPE = 0x0F
const BSON_TYPE_INT32 = 0x10
const BSON_TYPE_TIMESTAMP = 0x11
const BSON_TYPE_INT64 = 0x12
const BSON_TYPE_MAXKEY = 0x7F
const BSON_TYPE_MINKEY = 0xFF
